package com.rogo.rogobox.controllers
{
	import com.rogo.mvc.interfaces.INotification;
	import com.rogo.mvc.sub.command.Command;
	import com.rogo.rogobox.models.MicroblogProxy;
	import com.rogo.rogobox.models.vo.CommentVO;
	
	public class CommentMicroblogCommand extends Command
	{
		public function CommentMicroblogCommand()
		{
			super();
		}
		
		override public function execute(notification:INotification):void
		{
			var vo:CommentVO = notification.param as CommentVO;
			var proxy:MicroblogProxy = facade.retrieveProxy(MicroblogProxy.NAME) as MicroblogProxy;
			proxy.commentStatus(vo);
		}
	}
}